package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.vo.NursingProjectVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 20843
* @description 针对表【nursing_project(护理项目表)】的数据库操作Mapper
* @createDate 2024-05-07 17:16:04
* @Entity com.zzyl.entity.NursingProject
*/
@Mapper
public interface NursingProjectMapper extends BaseMapper<NursingProject> {

    Page<NursingProjectVO> getPage(String name, Integer status);

    int insertNursingProject(NursingProject nursingProject);

    int updateNursingProject(NursingProject nursingProject);

    NursingProject getById(Long id);

    int updateStatus(Long id, Integer status, Integer status1);

    List<NursingProjectVO> getNursingProjectList();
}




